package com.example.astronautcontact0123456789hwh1104;

import java.io.Serializable;

public class AstronautContact implements Serializable {
    private int id;
    private String name;
    private  String phone;
    private String email;
    private String organization;
    private  String notes;

    public AstronautContact(int id, String name, String phone, String email, String organization, String notes) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.organization = organization;
        this.notes = notes;
    }

    public AstronautContact(String name, String phone, String email, String organization, String notes) {
        this.name = name;
        this.phone = phone;
        this.email = email;
        this.organization = organization;
        this.notes = notes;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getOrganization() {
        return organization;
    }

    public void setOrganization(String organization) {
        this.organization = organization;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
}
